import React from 'react'
import { Form, Input, Card, Button, Switch } from 'antd'
import { PageHeaderWrapper } from '@ant-design/pro-layout'


export default () => {
    return (
        <PageHeaderWrapper title={false}>
            <Card>
                <Form
                    labelCol={{ span: 3 }}
                    wrapperCol={{ span: 9 }}
                >
                    <Form.Item label="开启商品审核" required>
                        <Switch />
                    </Form.Item>
                    <Form.Item wrapperCol={{ offset: 3 }}>
                        <Button type="primary">保存</Button>
                    </Form.Item>
                </Form>
            </Card>
        </PageHeaderWrapper>
    )
}